import React from "react"
import './style.less'
import img01 from '../../../static/images/life_img/img_01.png'

export default class ItemList extends React.Component{
  render(){
    const data = this.props.data
    return(
      <div className='item-list clear'>
        <div className='item-img'>
          <img src={ img01 } alt='提示' />
        </div>
        <div className='item-text'>
          <h2>{ data.title }</h2>
          <p>{data.text}</p>
        </div>
        <div className='item-price'>
          <span>{data.price}元起</span>
        </div>
      </div>
    )
  }
}
